package com.zg.system.req;

import com.zg.common.core.req.EditReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 15:05
 */

@Data
@ApiModel
@NoArgsConstructor
public class AuthRoleEditReq extends  EditReq {

    @ApiModelProperty(value = "角色名称", required = true)
    @NotEmpty(message = "角色名称不能为空")
    private String name;       // 标题
    @ApiModelProperty(value = "角色编号", required = true)
    @NotEmpty(message = "角色编号不能为空")
    private String code;

    private Long tenantId;       //租户ID

}
